<?php
// $Id: 
class GlobalSecureView extends View
{
    function & execute (&$controller, &$request, &$user)
    {
        $renderer = new Renderer($controller, $request, $user);
        $renderer->setAttribute('username', $user->getAttribute('username'));
#        $renderer->setAttribute('alert', 'You are not authorised to view this page. Press <a href="?module='.DEFAULT_MODULE.'&action='.DEFAULT_ACTION.'">here</a> to return to home page');
        $renderer->setAttribute('alert', 'You are not authorised to view this page.');
        $renderer->setTemplate('global_secure.tmpl.php');
        return $renderer;
    }
}
?>
